package ru.yermak.bookkeeping.currency;

import ru.yermak.bookkeeping.model.Currency;

import java.util.List;

/**
 * User: harrier
 * Date: Aug 11, 2008
 */

public interface CurrencyDao{
    List<Currency> findCurrencyByUserId(Integer userId);




























    
    Integer insertCurrency(Currency currency);

    void removeCurrency(Currency currency);

    Currency getById(Integer currencyId);

    void updateCurrency(Currency currency);
}
